.TH SXVOL-REMOVE "1" "September 2014" "sxvol @VERSION@" "Skylable SX Manual"
.SH NAME
sxvol-remove \- remove volumes from SX clusters
.SH SYNOPSIS
.B sxvol remove
[\fI\,OPTIONS\/\fR] \fI\,sx://\/\fR[\fI\,profile@\/\fR]\fI\,cluster/volume\/\fR
.SH DESCRIPTION
Remove an empty volume from a cluster. Only cluster administrators can remove volumes and for safety reasons, it is not possible to remove a volume until all its files get deleted first (see \fBsxrm\fR(1) on how to delete files).
.SH OPTIONS
.TP
\fB\-h\fR, \fB\-\-help\fR
Print help and exit
.TP
\fB\-\-full\-help\fR
Print help, including hidden options, and exit
.TP
\fB\-V\fR, \fB\-\-version\fR
Print version and exit
.TP
\fB\-D\fR, \fB\-\-debug\fR
Enable debug messages
.TP
\fB\-c\fR, \fB\-\-config\-dir\fR=\fI\,PATH\/\fR
Path to the SX configuration directory (default: ~/.sx)
.TP
\fB\-f\fR, \fB\-\-filter\-dir\fR=\fI\,PATH\/\fR
Path to the SX filter directory (default: @SX_FILTER_DIR@)
.SH "EXAMPLES"
To remove a non-empty volume 'trash' first recursively remove all its files and then remove the volume itself:
.br
\fB    sxrm -r sx://admin@cluster/trash\fP
\fB    sxvol remove sx://admin@cluster/trash\fP
.SH SEE ALSO
\fBsxvol-create\fR(1), \fBsxvol-modify\fR(1), \fBsxvol-filter\fR(1)
